package com.wxj.book.pojo;

import java.util.Date;

public class Book {
    /** id */
    private Integer id;

    /** 名称 */
    private String name;

    /** 状态 */
    private Integer status;

    /** 类别 */
    private Integer categoryId;

    /** 库存 */
    private Integer quantity;

    /** 开本 */
    private String kb;

    /** 是否套装 */
    private Integer isTao;

    /** 纸张 */
    private String zz;

    /** 包装 */
    private String bz;

    /** 作者 */
    private String author;

    /** 出版社 */
    private String cbs;

    /** 内容简介 */
    private String content;

    /** 图片地址 */
    private String imgUrl;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Book(Integer id, String name, Integer status, Integer categoryId, Integer quantity, String kb, Integer isTao, String zz, String bz, String author, String cbs, String content, String imgUrl, Date createTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.status = status;
        this.categoryId = categoryId;
        this.quantity = quantity;
        this.kb = kb;
        this.isTao = isTao;
        this.zz = zz;
        this.bz = bz;
        this.author = author;
        this.cbs = cbs;
        this.content = content;
        this.imgUrl = imgUrl;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Book() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getKb() {
        return kb;
    }

    public void setKb(String kb) {
        this.kb = kb == null ? null : kb.trim();
    }

    public Integer getIsTao() {
        return isTao;
    }

    public void setIsTao(Integer isTao) {
        this.isTao = isTao;
    }

    public String getZz() {
        return zz;
    }

    public void setZz(String zz) {
        this.zz = zz == null ? null : zz.trim();
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz == null ? null : bz.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getCbs() {
        return cbs;
    }

    public void setCbs(String cbs) {
        this.cbs = cbs == null ? null : cbs.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}